package aiguigu07.encapsulation;

/**
 * ClassName: BookTest
 * Package: aiguigu07.encapsulation
 * Description:
 *
 * @Author ZY
 * @Create 2024/10/10 21:55
 * @Version 1.0
 */
public class BookTest {
    public static void main(String[] args) {

        Book book1 = new Book();

        book1.setBookName("JAVA");
        book1.setAuthor("小明");
        book1.setPrice(100.0);
        System.out.println(book1.showInfo());
    }
}
